how to make tic tac toe game in c language